<!--分页-->
<template>
  <el-pagination
    :page-size.sync="page.size"
    :total="page.total"
    :current-page.sync="page.page"
    style="margin-top: 8px"
    layout="total,sizes, prev, pager, next,jumper"
    @size-change="crud.sizeChangeHandler($event)"
    @current-change="crud.pageChangeHandler"
  />
</template>
<script>
import { pagination } from '@crud/crud'
export default {
  mixins: [pagination()]
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
.el-pagination {
  text-align: center;
  margin-top: 30px !important;
}
</style>
